package com.finger.forest.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * patrol
 * @author 
 */
public class Patrol implements Serializable {
    /**
     * 编号
     */
    private Long id;

     /**
     * 护林员ID
     */
    private Long gridUserId;

    /**
     * 巡护区域ID
     */
    private Long areaId;

    /**
     * 巡护日期
     */
    private String createDate;

    /**
     * 巡护时长（小时）
     */
    private BigDecimal duration;

    /**
     * 巡护里程（公里）
     */
    private BigDecimal mileage;

    /**
     * 日志内容
     */
    private String content;

    /**
     * 有效标识 0：无效；1：有效
     */
    private Integer validFlag;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 创建人
     */
    private String createUser;

    /**
     * 修改时间
     */
    private String updateTime;

    /**
     * 修改人
     */
    private String updateUser;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGridUserId() {
        return gridUserId;
    }

    public void setGridUserId(Long gridUserId) {
        this.gridUserId = gridUserId;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public BigDecimal getDuration() {
        return duration;
    }

    public void setDuration(BigDecimal duration) {
        this.duration = duration;
    }

    public BigDecimal getMileage() {
        return mileage;
    }

    public void setMileage(BigDecimal mileage) {
        this.mileage = mileage;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getValidFlag() {
        return validFlag;
    }

    public void setValidFlag(Integer validFlag) {
        this.validFlag = validFlag;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
}